package com.byxy.managerial.service;

import java.util.List;

import com.byxy.managerial.entity.Department;
import com.byxy.managerial.entity.Staff;

/**
 * 
 * 员工service接口
 *
 */
public interface StaffService {

	boolean save(Staff staff);

	boolean delete(Integer id);

	boolean update(Staff staff);

	List<Staff> find();

	List<Staff> find(List<Department> list);

	int countTotal();

	Staff getByIdStaff(int id);

	List<Staff> find(int pos, int row);
	
	List<Staff> findDim(String likeVal);

}
